package com.ctshk.rpc.system.req;


import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 新增大客户
 * </p>
 *
 * @author 张志朋
 * @since 2021-02-03
 */
@Data
@ApiModel(value="SysBigClient请求对象", description="新增大客户请求对象")
public class SysBigClientAddReq implements Serializable {
    private static final long serialVersionUID = -8036458389058759962L;

    @ApiModelProperty(value = "id")
    private Long id;

    @NotNull(message = "請輸入大客戶名稱")
    @ApiModelProperty(value = "大客户名称", required = true)
    private String cnName;

    @ApiModelProperty(value = "英文名称")
    private String enName;

    @NotNull(message = "請輸入城市")
    @ApiModelProperty(value = "城市", required = true)
    private String city;
    
    @NotNull(message = "城市id不能為空")
    @ApiModelProperty(value = "城市id")
    private Long cityId;

    @ApiModelProperty(value = "大客户地址")
    private String location;

    @ApiModelProperty(value = "公司电话")
    private String companyTelephone;

    @ApiModelProperty(value = "大客户财务系统编码")
    private String financeSysCode;

    @NotNull(message = "请输入是否使用系统")
    @ApiModelProperty(value = "是否使用系统 1使用 2不使用", required = true)
    private Integer useSys;

    @ApiModelProperty(value = "所属系统 1 核心业务系统;2 供应商开放平台;3 代理商分销系统ADS;4 地接系统;5 商旅系统TMC")
    private Integer platformSysType;

    @NotNull(message = "請上傳大客戶營業執照")
    @ApiModelProperty(value = "大客户营业执照", required = true)
    private String businessLicense;


    @NotNull(message = "請上傳大客戶合同")
    @ApiModelProperty(value = "大客户合同上传", required = true)
    private String contractFile;

    @ApiModelProperty(value = "大客户联系人")
    private String businessContactName;

    @ApiModelProperty(value = "大客户联系人电话")
    private String businessContactMobile;

    @ApiModelProperty(value = "大客户业务电邮")
    private String businessContactEmail;

    @ApiModelProperty(value = "大客户传真")
    private String contactFax;

    @ApiModelProperty(value = "银行名称")
    private String bankName;

    @ApiModelProperty(value = "大客户银行账号")
    private String bankCard;

    @ApiModelProperty(value = "大客户财务联系人")
    private String financeContactName;

    @ApiModelProperty(value = "大客户财务联系电话")
    private String financeContactMobile;

    @ApiModelProperty(value = "财务邮箱")
    private String financeContactEmail;

    @ApiModelProperty(value = "结算周期")
    private Integer settlementPeriod;

    @ApiModelProperty(value = "结算周期类型(	1 按天结算	2 按周结算	3 按月结算)")
    private Integer settlementPeriodType;

    @ApiModelProperty(value = "结算币种")
    private String settlementCurrency;

    @ApiModelProperty(value = "合作有效期类型(1 有时间限制	2 长期)")
    private Integer cooperationValidityType;

    @ApiModelProperty(value = "其他文件")
    private String otherFiles;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "合作开始时间")
    private LocalDate cooperationDateBegin;

    @ApiModelProperty(value = "合作结束时间")
    private LocalDate cooperationDateEnd;

    @ApiModelProperty(value = "币种ID")
    private Long currencyId;

    @ApiModelProperty(value = "币种")
    private String currency;

    @ApiModelProperty(value = "汇率")
    private BigDecimal exchangeRate;
}

